from rest_framework import serializers
from .models import KnowledgeBaseVisit
from .models import APIAccessLog
class KnowledgeBaseVisitSerializer(serializers.ModelSerializer):
    class Meta:
        model = KnowledgeBaseVisit
        fields = '__all__'


class APIAccessLogSerializer(serializers.ModelSerializer):
    class Meta:
        model = APIAccessLog
        fields = '__all__'